package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 提现表(UserWithdrawRecord)返回对象
 *
 * @author zach
 * @since 2020-07-25 13:53:52
 */
@Getter
@Setter
@ApiModel(value = "提现表")
public class UserWithdrawRecordVo {

    private String id;

    @ApiModelProperty(value = "用户id")     
    private String userId;

    @ApiModelProperty(value = "用户名称",required = true)
    private String userName;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "手续费")     
    private BigDecimal feeAmount;

    @ApiModelProperty(value = "实际到账金额")     
    private BigDecimal realAmount;

    @ApiModelProperty(value = "提现时间")     
    private Instant withdrawTime;

    @ApiModelProperty(value = "处理时间")     
    private Instant handleTime;

    @ApiModelProperty(value = "处理状态  0审批中,10汇款中,20完成,30失败")     
    private Integer status;

    @ApiModelProperty(value = "绑定手机号")
    private String mobile;

    @ApiModelProperty(value = "失败原因")     
    private String errorMsg;

    @ApiModelProperty(value = "类型0微信1支付宝2银行卡")     
    private Integer channelType;

    @ApiModelProperty(value = "支付流水号")     
    private String payFlow;

    @ApiModelProperty(value = "账号名称")     
    private String accountName;

    @ApiModelProperty(value = "账号")     
    private String account;

    @ApiModelProperty(value = "账号地址")
    private String accountAddress;
    private Instant gmtCreated;
    private Instant gmtModified;
    @ApiModelProperty(value = "店铺ID")
    private String shopId;
    @ApiModelProperty(value = "店铺名称")
    private String shopName;
}